Open XML SDK 2.5 for Office 的最近更新

您所在的位置:网站首页 无法打开office open xml文件 Open XML SDK 2.5 for Office 的最近更新

Open XML SDK 2.5 for Office 的最近更新

2023-09-24 03:45| 来源: 网络整理| 查看: 265

Open XML SDK 2.5 for Office 的最近更新 项目 04/07/2023

除了已知问题和限制,本主题还介绍 Open XML SDK 2.5 for Office 中包含的新功能和改进功能。

Open XML SDK 2.5 是一个类集合,通过这些类,您可以创建和处理遵循 Office Open XML 文件格式标准 的 Open XML 文档。 因为 SDK 会提供一种可让您直接处理 Open XML 文档的应用程序接口,所以在客户端和服务器操作环境中,不需要 Office 客户端产品,您就可以实现此操作。 您可以使用 SDK 制定高性能的客户端或服务器端解决方案,即仅使用少量程序代码就可执行复杂操作的解决方案。

这一发行版的 SDK 极大地扩展了对文件格式的支持,同时还添加了新功能。

系统要求

Open XML SDK 2.5 具有以下系统要求:

支持的操作系统: Windows 8 Preview、Windows 7、Windows Server 2003 Service Pack 2、Windows Server 2008 R2、Windows Server 2008 Service Pack 2、Windows Vista Service Pack 2 和 Windows XP Service Pack 3

系统先决条件:.NET Framework版本 4.0,最多 300 MB 的可用磁盘空间

新的软件要求

Open XML SDK 2.5 要求 .NET Framework 4.0 或更高版本。 支持的操作系统更新到与 .NET Framework 4.0 相同的要求。

支持 Office 2013 预览文件格式

除了兼容 Open XML SDK 1.0 类和 Open XML SDK 2.0 for Microsoft Office 类之外,Open XML SDK 2.5 还提供新的类,以便您可以编写和生成用于处理新的 Microsoft Office 2013 功能(见表 1)的 Open XML 文件扩展名的应用程序。 通过使用 Open XML SDK 2.5 Productivity Tool for Office,可在左窗格中的 Open XML SDK 文档内浏览这些新扩展名。

表 1. DocumentFormat.OpenXml.Office15 类

类 说明 DocumentFormat.OpenXml.Office15.Excel 支持新的数据透视图功能、时间线和其他新的 Excel 功能 DocumentFormat.OpenXml.Office15.Word 支持新的注释功能(如注释窗格)和其他新的 Word 功能。 例如, CommentEx 类读取注释作者; WebVideoProperty属性用于在 Word 文档中插入视频。 DocumentFormat.OpenXml.Office15.PowerPoint, Theme 支持注释提示、主题系列和其他新的 PowerPoint 功能 DocumentFormat.OpenXml.Office15.Drawing 支持新的图表、数据透视图功能和其他新的绘制和图表功能 DocumentFormat.OpenXml.Office15.WebExtension、WebExtentionPane 支持适用于 Office 的应用程序和适用于 Office 功能的任务窗格应用程序。 这些类可用于将适用于 Office 的应用程序插入 Word 和 Excel 文档文件中或修改该应用程序

有关演示如何使用这些新类的代码示例,请参考张贴在 Microsoft 开发人员网络中的 Open XML 格式 SDK 论坛 上的新文章。

读取 ISO 严格文档文件

Open XML SDK 2.5 可读取 ISO/IEC 29500 严格格式文件。 其文档内容在该文档打开时被识别为 Open XML 过渡格式文件。 保存该文件后,该文档被另存为 Open XML 过渡格式文件。

对该文档进行任何更改时或保存该文档时,Open XML SDK 2.5 会将 ISO 严格文件转换成过渡格式化的文件。 除非已保存或修改该文档,该文档才保留为 ISO 严格格式文件。

已更新的 API 信息

由于 Office 2013 的文件格式扩展了没有任何成员元素的 元素的成员, 与空 (关联的 Open XML SDK 2.0 类(例如 DocumentFormat.OpenXml.Spreadsheet.PivotFilter:ExtensionList) )将更新为 Open XML SDK 2.5 (的 ExtensionList 类的新变体,例如 DocumentFormat.OpenXml.Spreadsheet.PivotFilter:PivotFilterExtensionList) 。 每个类中的以下空的 ExtensionList 将替换为新的 ExtensionList 类,包括新的 Off Open XML 子元素成员。

ExtensionList:

DocumentFormat.OpenXml.Drawing.ConnectionShapeLocks

DocumentFormat.OpenXml.Drawing.Theme

DocumentFormat.OpenXml.Drawing.ChartDrawing.NonVisualGroupShapeDrawingProperties

DocumentFormat.OpenXml.Drawing.Charts.MultiLevelStringReference

DocumentFormat.OpenXml.Drawing.Chart.NumberReference

DocumentFormat.OpenXml.Drawing.Charts.StringReference

DocumentFormat.OpenXml.Drawing.Charts.SurfaceChartSeries

DocumentFormat.OpenXml.Drawing.Diagrams.DataModelRoot

DocumentFormat.OpenXml.Drawing.Spreadsheet.NonVisualDrawingProperties

DocumentFormat.OpenXml.Drawing.Spreadsheet.NonVisualGroupShapeDrawingProperties

DocumentFormat.OpenXml.Office.Drawing.NonVisualGroupDrawingShapeProperties

DocumentFormat.OpenXml.Office2010.Excel.SlicerCacheDefinition

DocumentFormat.OpenXml.Office2010.Word.DrawingGroup.NonVisualGroupDrawingShapeProperties

DocumentFormat.OpenXml.Presentation.CommentAuthor

DocumentFormat.OpenXml.Presentation.NonVisualGroupShapeDrawingProperties

DocumentFormat.OpenXml.Spreadsheet.PivotFilter

DocumentFormat.OpenXml.Spreadsheet.QueryTable

ExtensionListWithModification:

DocumentFormat.OpenXml.Presentation.Comment

DocumentFormat.OpenXml.Presentation.HandoutMaster

DocumentFormat.OpenXml.Presentation.NotesMaster

DocumentFormat.OpenXml.Presentation.SlideLayout

DocumentFormat.OpenXml.Presentation.SlideMaster

已弃用的 API 信息

以下节讨论已弃用的 API 成员:

智能标记

由于 智能标记 在 Office 2010 中已弃用,因此 Open XML SDK 2.5 不支持与智能标记相关的 Open XML 元素。 Open XML SDK 2.5 仍可以将智能标记元素处理为 未知 元素,但 Open XML SDK 2.5 Productivity Tool for Office 会验证这些元素 (Office 文档文件中的以下列表) 无效 标记。

DocumentFormat.OpenXml.Spreadsheet:

SmartTagDisplayValues

SmartTagProperties

SmartTags

SmartTagType

SmartTagTypes

DocumentFormat.OpenXml.Wordprocessing:

SaveSmartTagAsXml

SmartTagAttribut

SmartTagProperties

SmartTagRun

SmartTagType

Office 2010 Beta only 标记

已弃用 Office 2010 beta only Open XML 标记的 Open XML SDK 2.0 类。 例如, DocumentFormat.OpenXml.Office2010.Drawing.ChartDrawing、 DocumentFormat.OpenXml.Office2010.Word 和 DocumentFormat.OpenXml.Office2010.Drawing 的仅限测试版非可视属性已从 Open XML SDK 2.5 中移除。



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3